package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.common.ServerResponse;
import com.mmall.pojo.Shipping;

/**
 * @Author: Czh
 * @Date: 2019/5/7  13:37
 * @Version: 1.0
 **/
public interface IShippingService {

    ServerResponse add(Integer userId , Shipping shipping);


    ServerResponse delete(Integer userId , Integer shippingId);

    ServerResponse update(Integer userId , Shipping shipping);

    ServerResponse<Shipping> select(Integer userId , Integer shippingId);

    ServerResponse<PageInfo> list(Integer userId , Integer pageNum , Integer pageSize);
}
